/////////////////////////////////////////////////////////////////////////////
// Name:        MainApp.h
// Purpose:     
// Author:      
// Modified by: 
// Created:     29/06/2011 15:58:23
// RCS-ID:      
// Copyright:   
// Licence:     
/////////////////////////////////////////////////////////////////////////////

#ifndef _MAINAPP_H_
#define _MAINAPP_H_

class MainFrame;

class MainApp: public wxApp
{    
    DECLARE_CLASS( MainApp )
    DECLARE_EVENT_TABLE()

public:
    /// Constructor
    MainApp();

    void Init();

    /// Initialises the application
    virtual bool OnInit();

    /// Called on exit
    virtual int OnExit();

	virtual void CleanUp();
public:
	MainFrame*	m_pMainWnd;

private:
	void InitInternal();
};

DECLARE_APP(MainApp)

#endif
